export default defineEventHandler((event) => {
  // event.context.params.slug to get the route segment: 'bar/baz'
  return {
    '/api/image': `图片处理相关api: ${event.context.params?.slug}`
  }
})